﻿using MediatR;
using RearLivestock.Common.Dtos;
using System.ComponentModel.DataAnnotations;

namespace RearLivestock.RBAC.Api.Application.hqApplication.Commands.Enterprisess
{
    public class AddEnterpriseCommand : IRequest<Result>
    {
        /// <summary>
        /// 企业id
        /// </summary>

        public int EnterpriseId { get; set; }

        /// <summary>
        /// 企业名称
        /// </summary>

        public string EnterpriseName { get; set; } = string.Empty;

        /// <summary>
        /// 企业简称
        /// </summary>
        public string EnterpriseAbbreviation { get; set; } = string.Empty;

        /// <summary>
        /// 企业logo
        /// </summary>
        public string CorporateLogo { get; set; } = string.Empty;

        /// <summary>
        /// 企业详细地址
        /// </summary>
        public string DetailedAddress { get; set; } = string.Empty;

        /// <summary>
        /// 企业电话
        /// </summary>
        public string EnterprisePhone { get; set; } = string.Empty;

        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        public string SocialCredit { get; set; } = string.Empty;

        /// <summary>
        /// 描述
        /// </summary>
        public string Describe { get; set; } = string.Empty;

        /// <summary>
        /// 停用企业 1-停用 2-禁用
        /// </summary>
        public int DefunctEnterprise { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string Principal { get; set; } = string.Empty;

        /// <summary>
        /// 财务负责人
        /// </summary>
        public string FinancePrincipal { get; set; } = string.Empty;

        /// <summary>
        /// 分管负责人
        /// </summary>
        public string ResponsiblePerson { get; set; } = string.Empty;

        /// <summary>
        /// 可查看人员
        /// </summary>
        public string Superintendent { get; set; } = string.Empty;
    }
}
